package com.jeesite.modules.custom.enumInfo;
interface IEnum {
    String getCode();

    String getName();
}
public enum warehourseEnum implements IEnum {
    GUONEIZIFANG("国内资方","1"),
    HAIWAIZIFANG("海外资方","2"),
    GONGHUOWAISHANG("供货外商","3"),
    BAOGUANHANG("报关行","4"),
    YUNSHUGONGSI("运输公司","5"),
    BAOLIGONGSI("保理公司","6"),
    CABGKUFUWUSHANG("仓库服务商","7"),
    QITAGONGYINGSHANG("其他供应商","8");
    private String name;
    private String code;
    private warehourseEnum(String name,String code){
        this.name=name;
        this.code=code;
    }

        @Override
        public String getCode(){
            return this.code;
        }
        @Override
        public String getName(){
            return this.name;
        }
}
